package com.cmc.cloud.cmclink.doc.vo.hscodevo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author 周贤
 * @date 2025/3/25
 */
@Schema(description = "管理后台 - hscode 导出excel VO")
@Data
@Builder
@ToString(callSuper = true)
@AllArgsConstructor
@NoArgsConstructor
public class HsCodeExportVo {
    @ExcelIgnore
    private Long id;

    @ExcelProperty(value = "HSCODE",order = 1)
    @ColumnWidth(50)
    private String hsCode;

    @ExcelProperty(value = "Commodity_EN", order = 2)
    @ColumnWidth(60)
    private String descEn;

    @ExcelProperty(value = "Commodity_CN", order = 3)
    @ColumnWidth(60)
    private String descCn;
}
